package com.jyhg.core.mobile.utils
{
	import flash.desktop.NativeApplication;

	/**
	 * 
	 * @author Jonny.Hong
	 * 
	 */
	public class ApplicationInfo
	{
		public function ApplicationInfo()
		{
		}
		
		
		/**
		 *获取xx-app.xml中的versionNumber 
		 * @return 
		 * 
		 */
		public static function get version():String
		{
			var appDescriptor:XML =NativeApplication.nativeApplication.applicationDescriptor;//配置文件
			var ns:Namespace =appDescriptor.namespace();
			return "" +appDescriptor.ns::versionNumber;
		}
	}
}